package service

import (
	"time"

	_ "gameserver/entitydef"

	"gitee.com/night-tc/gobige/dbmanager"
	"gitee.com/night-tc/gobige/msgdef/protomsg"
)

// 这里需要把要建的表都处理好
func init() {
	dbmanager.GetDBSingleton().RegisterType(NewTestTableMD)
}
func NewTestTableMD() dbmanager.IDataBaseModel {
	result := new(protomsg.TestTableMD)
	result.CreatedAt = time.Now()
	result.UpdatedAt = time.Now()
	return result
}
